![]() |
GetTheme |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Obtains a collection containing data describing the current theme.
OSStatus GetTheme ( Collection ioCollection );
A value of type Collection. Pass a reference to a collection object, such as that created by calling the Collection Manager function NewCollection. On return, the collection contains data describing attributes of the current theme.
A result code.
The GetTheme function obtains a collection containing a copy of the data for the current theme. The theme data is in the form of collection items, each corresponding to an attribute of the theme. For a given theme, the actual number of collection items may vary, depending upon how fully the theme’s attributes are specified. See
Your application can use theme collection tags, along with various Collection Manager functions, to access the data in the collection.
Also see the function SetTheme.
This function is available with Appearance Manager 1.1 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)